package com.gzdh.dishrecognition.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

import java.util.Date;

@Entity
public class FkEntity {

    @Id
    private Long id;

    @Property(nameInDb = "cardId")
    private String cardId;
    @Property(nameInDb = "cardno")
    private String cardno;

    @Property(nameInDb = "name")
    private String name;

    @Property(nameInDb = "cardsn")
    private String cardsn;

    @Property(nameInDb = "kye")
    private String kye;

    @Property(nameInDb = "btye")
    private String btye;

    @Property(nameInDb = "validdate")
    private Date validdate;

    @Property(nameInDb = "isGuaShi")
    private Integer isGuaShi;

    @Generated(hash = 451442415)
    public FkEntity(Long id, String cardId, String cardno, String name,
            String cardsn, String kye, String btye, Date validdate,
            Integer isGuaShi) {
        this.id = id;
        this.cardId = cardId;
        this.cardno = cardno;
        this.name = name;
        this.cardsn = cardsn;
        this.kye = kye;
        this.btye = btye;
        this.validdate = validdate;
        this.isGuaShi = isGuaShi;
    }

    @Generated(hash = 1100622851)
    public FkEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardno() {
        return this.cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardsn() {
        return this.cardsn;
    }

    public void setCardsn(String cardsn) {
        this.cardsn = cardsn;
    }

    public String getKye() {
        return this.kye;
    }

    public void setKye(String kye) {
        this.kye = kye;
    }

    public String getBtye() {
        return this.btye;
    }

    public void setBtye(String btye) {
        this.btye = btye;
    }

    public Date getValiddate() {
        return this.validdate;
    }

    public void setValiddate(Date validdate) {
        this.validdate = validdate;
    }

    public Integer getIsGuaShi() {
        return this.isGuaShi;
    }

    public void setIsGuaShi(Integer isGuaShi) {
        this.isGuaShi = isGuaShi;
    }

    public String getCardId() {
        return this.cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
}
